function showMessage(mess) {
    layer.msg(mess, {
        time: 2000
    });
}

function ifBlank(value,message) {
    if(value == "" || value == null){
        showMessage(message);
        return true;
    }
    return false;
}
